<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>花言风控中心</title>
    <script data-hdkey="hktrust" src="/static/js/common/flexible.js"></script>
    <script data-hdkey="hktrust" src="/static/js/common/jquery-1.11.1.min.js"></script>
    <script data-hdkey="hktrust" src="/static/js/init.js"></script>
    <style>
        *{margin: 0;padding: 0;}
        li{list-style: none}
        .making-money{width:10rem;height: auto;margin: 0 auto;background: #4ed787}
        .making-money>img{width: 100%;height: 100%}
        .violation_list{width:8rem;margin: 0 auto;}
        .violation_list>h1{text-align: center;font-weight: bold;font-size:0.374rem;color: #333;margin-bottom: 0.85rem;}
        .tit,.list>li{width: 100%;overflow: hidden;border: 0.02rem solid black;height: auto;}
        .list>li{border-bottom: 0;}
        .list>li:first-child{border-top: none;}
        .list>li:last-child{width: 100%;overflow: hidden;border-bottom: 0.02rem solid black;}
        .tit>span,.list>li>span{width: 50%;float: left;color: #333;font-size: 0.34rem;text-align: center;height: 100%;line-height: 0.5rem;}
        .violation_list>p{text-align: center;font-weight: bold;font-size:0.374rem;color: #333;width: 100%;margin-top: 0.3rem;margin-bottom: 0.5rem;}
    </style>
</head>
<body>
<script data-hdkey="hktrust" src="/static/js/Monitor.js"></script>
<div data-hdkey="hktrust" class="making-money">
    <img src="/static/img/hy_fengkong_01.jpg" alt="">
    <div class="violation_list">
        <h1 class="tit_date">以下为经确认部分违规封号名单</h1>
        <div class="tit">
            <span >花言号</span>
            <span>封禁原因</span>
        </div>
        <ul class="list">

        </ul>
        <p>花言风控中心</p>
    </div>
    <img src="/static/img/hy_fengkong_02.jpg" alt="">
</div>
<script data-hdkey="hktrust">
    $(function () {
        $.ajax({
            url: genUrl("/h5/freeze/getFreezeList"),
            type: 'GET',
            contentType:"application/json",
            dataType: 'json',
            async: false,
            success: function (res) {
                if(res.code==0){
                    $(".tit_date").html("以下为"+res.data.toDayTime+"经确认部分违规封号名单")
                    var freezeList=res.data.freezeList;
                    var str="";
                    if(freezeList && freezeList.length>0){
                        for(var i=0;i<freezeList.length;i++){
                            var reason=freezeList[i].reason;
                            var reasonstr='';
                            if(reason.indexOf("冻结")>0){
                                reasonstr=reason.split(',冻结')[0]
                            }
                           str+="<li>";
                           str+="<span>"+freezeList[i].customerId+"</span>";
                           str+="<span style='line-height: 0.5rem'>"+reasonstr+" </span>";
                           str+="</li>";
                        }
                    }
                    $(".list").html(str)
                }else{
                    console.log(res.message)
                }
            }
        });
    })
</script>
<script data-hdkey="hktrust" src="/static/js/lib/HijackingDefense.js"></script>
</body>
</html>